package com.hulk.dryad.manage.framework.storage.config;

import com.hulk.dryad.manage.framework.storage.StorageModeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author hulk
 */

@ToString
@ConfigurationProperties(prefix = StorageProperties.PREFIX)
public class StorageProperties {

  static final String PREFIX = "dryad.storage";
  @Getter
  @Setter
  private StorageModeEnum name = StorageModeEnum.LOCAL;
	/**
	 * cloud模式的表示桶local模式表示本地根目录
	 */
  @Setter
  @Getter
  private String bucket;




}
